TARGETS = coroutine
all: $(TARGETS)

CC = g++
CCFLAGS = -g -std=c++11

LIBS = 

%.o:%.cpp
	$(CC) $(CCFLAGS) -c $< -o $@

coroutine: co_main.o co_connection.o
	$(CC) $(CCFLAGS) $^ -o coroutine $(LIBS)

.PHONY: clean
clean:
	rm -rf $(TARGETS) *.o